import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const UserStore = defineStore('user', () => {
  
    const userdata=ref({

        username:'',
        islogin:false
    })


  return {userdata}
},
{
     persist: {
    storage: sessionStorage,
  },
},
)